<div ng-init="name='John'" ng-controller="AboutCtrl">
    <p>名字 : <input type="text" ng-model="name"></p>
    <h1>Hello <span ng-bind="name"></span></h1>
    <ul>
        <li>
            方法1.<hello></hello>
        </li>
        <li>
            方法2.<div hello></div>
        </li>
        <li>
            方法3.<div class="hello"></div>
        </li>
        <li>
            方法4. <!-- directive:hello -->
        </li>
    </ul>
    <ul>
        <li ng-repeat="n in menu">{{n}}</li>
    </ul>
</div>
  